@tailwind base;
@tailwind components;
@tailwind utilities;

*,
::before,
::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: #e5e7eb;
}

html {
  -webkit-text-size-adjust: 100%;
  font-feature-settings: normal;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif,
    Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
  font-variation-settings: normal;
  line-height: 1.5;
  tab-size: 4;
}


/*列表*/
.ul-type li::before {
  color: rgb(222, 7, 24);
  content: "•";
  display: inline-block;
  font-weight: 700;
  margin-left: 0.5em;
  width: 1em;
}

/*标签*/
.red-tag {
  background: linear-gradient(
      180deg,
      hsla(0, 0%, 100%, 0.2),
      hsla(0, 0%, 100%, 0)
    ),
    #d61111;
  background-blend-mode: soft-light, normal;
  border-radius: 4px;
  box-shadow: inset 0 2px #ffffff40;
  height: 20px;
  text-align: center;
  width: 33px;
}
.tag-text {
  color: #fff;
  font-family: PingFang SC;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  line-height: 1;
  text-transform: uppercase;
  transform: scale(0.85);
}

/*自定义组件*/
.select {
  display: inline-flex;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  -webkit-appearance: none;
  appearance: none;
  height: 3rem;
  min-height: 3rem;
  padding-left: 1rem;
  padding-right: 2.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  line-height: 2;
  border-radius: var(--rounded-btn, 0.5rem);
  border-width: 1px;
  border-color: transparent;
  --tw-bg-opacity: 1;
  background-color: var(--fallback-b1, oklch(var(--b1) / var(--tw-bg-opacity)));
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%),
    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(1px + 50%),
    calc(100% - 16.1px) calc(1px + 50%);
  background-size: 4px 4px, 4px 4px;
  background-repeat: no-repeat;
}

.select-bordered {
  border-color: var(--fallback-bc, oklch(var(--bc) / 0.2));
}

/*列表按钮*/
.apply-button {
  color: #fff;
  font-family: PingFang SC;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  
  text-align: center;
  text-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.5);
  text-transform: uppercase;
}
